
<%@ page import="it.dei.unipd.healthservice.resource.*"%>
<%@ page import="java.util.*" %>
<%
	ArrayList<Categoria> categorie= (ArrayList<Categoria>)request.getAttribute("categorie");
%>

<table width="192" border="0" cellspacing="0" cellpadding="0">
      <tr align="left" valign="top">
        <td width="192">
            <table width="100%"   border="0" cellspacing="0" cellpadding="0">
            <tr >
              <td  valign="top">
                <div class="RightMenu">
                  <ul>
                  	<%
                  //stampo la barra laterale con il collegamento alle categorie
                  if(categorie!=null){
                  		for(Categoria cat:categorie){
                  			%>
                  			<!--  <li><a href="./view_categoria?categoria=<%=cat.getNome() %>" id="WhiteColor2"><%=cat.getNome() %></a></li> -->
                  			<form method="post" action="./view_categoria" >
		            			<li><input type="submit" class="submitLink" value="<%=cat.getNome() %>" /></li>
		            			<input type="hidden" value="Prodotti" name="sezione">
		            			<input type="hidden" value="<%=cat.getNome() %>" name="categoria">
		            		</form>
                  			
                  		<%
                  		}
                  }
						
						
					%>
                    
                  </ul>
              </div></td>
            </tr>
          </table>
          <table width="100%"  border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td><a href="view_categoria"><img src="images/banner.jpg" alt="" width="192" height="400" border="0"></a></td>
            </tr>
          </table>
          <table width="100%"  border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td><a href="contatti.jsp"><img src="images/assist.gif" alt="" width="192" height="100" border="0"></a></td>
            </tr>
          </table>
          </td>
      </tr>
</table>